package com.mvc.mapper;

import com.mvc.entity.OrderTransaction;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName OrderTransactionMapper
 * @Description TODO
 * @Author Gla
 * @Date 2021/12/2 11:34
 * @Version 1.0
 **/
public interface OrderTransactionMapper {

    /**
     * @MethodName listSearch
     * @Description TODO
     * @Param startRow
     * @Param limit
     * @Param orderNo
     * @Return java.util.List<com.mvc.entity.OrderSnapshot>
     * @Author Gla
     * @Date 2021/12/2 11:36
     **/
    List<OrderTransaction> listSearch(@Param(value = "startRow") Integer startRow, @Param(value = "limit") Integer limit,
                                      @Param(value = "order_no") Integer order_no);

    /**
     * @MethodName getCount
     * @Description TODO
 * @Param orderNo
     * @Return java.lang.Integer
     * @Author Gla
     * @Date 2021/12/2 11:38
     **/
    Integer getCount(@Param(value = "order_no") Integer order_no);
}
